<html>
    <head>
        <title>ZZDP BLE</title>
        <script src="/socket.io/socket.io.js"></script>
        <script type="application/javascript">
            var socket = io.connect('localhost:3000');

            socket.on('new-data', function (data) {
                console.log(data);
            });
        </script>
    </head>
    <body>
    </body>
</html>
